<script setup>
import {onMounted, ref} from 'vue'
import scrollTable from '../../../components/scrollTable.vue'
import {storeToRefs} from 'pinia'
import {useResultWeigui} from '../../../stores/result-base-risk-wei-gui.js'
const getrs = useResultWeigui()
const {tableRte1,tableRte2,tableRte3,tableRte4,tableRte5,tableRte6}  = storeToRefs(getrs);
const activeNames = ref(['0']);
onMounted(()=>{
  console.log('shengji..')
})
</script>

<template>
  <van-collapse v-model="activeNames" :accordion="false">
    <van-collapse-item title="信息披露造假" name="1" value="1则公告">
      <div class="matter">
        近3月,公司发布3则信息披露造假公告。
      </div>
      <div class="mt-12">
        <scrollTable :title-list="tableRte1.titleList" :data-list="tableRte1.dataList"/>
      </div>
    </van-collapse-item>
    <van-collapse-item title="信息披露违法违法" name="2" value="2则公告">
      <div class="matter">
        近3月,公司发布3则信息披露造假公告。
      </div>
      <div class="mt-12">
        <scrollTable :title-list="tableRte2.titleList" :data-list="tableRte2.dataList"/>
      </div>
    </van-collapse-item>
    <van-collapse-item title="交易市场违法违规" name="3" value="1则公告">
      <div class="matter">
        近3月,公司发布3则信息披露造假公告。
      </div>
      <div class="mt-12">
        <scrollTable :title-list="tableRte3.titleList" :data-list="tableRte3.dataList"/>
      </div>
    </van-collapse-item>
    <van-collapse-item title="生产经营违法违规" name="4" >
      <div class="matter">
        近3月,公司发布3则信息披露造假公告。
      </div>
      <div class="mt-12">
        <scrollTable :title-list="tableRte4.titleList" :data-list="tableRte4.dataList"/>
      </div>
    </van-collapse-item>
    <van-collapse-item title="公司监管违法违规" name="5" value="1则公告">
      <div class="matter">
        近3月,公司发布3则信息披露造假公告。
      </div>
      <div class="mt-12">
        <scrollTable :title-list="tableRte5.titleList" :data-list="tableRte5.dataList"/>
      </div>
    </van-collapse-item>
    <van-collapse-item title="交易所问询" name="6" >
      <div class="matter">
        近3月,公司发布3则信息披露造假公告。
      </div>
      <div class="mt-12">
        <scrollTable :title-list="tableRte6.titleList" :data-list="tableRte6.dataList"/>
      </div>
    </van-collapse-item>
  </van-collapse>
</template>

<style scoped lang="scss">

</style>